﻿@model PageList<StudentAudits>
@{
    Layout = null;
}
@foreach (var record in Model)
{
    <li>
        <a href="@Url.Action("StudentAuditsDetails", new {id = record.Id})" class="item-link item-content">
            <div class="item-inner">
                <div class="item-title">登录时间:@DateTimeHelper.FormatDateHasSecond(record.LoginDateTime)</div>
                <div class="item-after">
                </div>
                <div class="item-subtitle">
                    @if (record.Device.Equals("pc"))
                    {
                        <i class="fa fa-television"></i> <span>计算机</span>
                    }
                    else
                    {
                        <i class="fa fa-mobile fa-lg"></i> <span>移动设备(<span class="color-success">@record.Device</span>)</span>
                    }
                </div>
            </div>
        </a>
    </li>
}